package com.zhongyw.mvt.gis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vividsolutions.jts.io.ParseException;
import com.zhongyw.mvt.gis.entity.ShapefileInfo;
import com.zhongyw.mvt.gis.entity.VectorTile;

import java.io.IOException;
import java.util.List;
import java.util.Map;


/**
 * @author zhong
 */
public interface IShapefileService extends IService<ShapefileInfo> {

    List<Map<String, Object>> getIntersection(String layer1, String layer2);

    List<Map<String, Object>> nearestNeighbor(String layer, String geoJson);

    String shortestPath(double[] startCoords, double[] endCoords);
}
